
import java.util.* ;
public class Node {
	private String clientName;
	private String clock;
	private int distance;
	private int numOfPizza;
	private Object next;
	private int index;
public Node(String clientName,String clock,int distance,int numOfPizza,Object next,int index){
	this.clientName=clientName;
	this.distance=distance;
	this.numOfPizza=numOfPizza;
	this.clock=clock;
	this.next=next;
	this.index=index;
}
public String getClientName(){
	return clientName;
}
public String getTime(){
	return clock;
}
public int getNumOfPizza(){
	return numOfPizza;
}
public int getDistance(){
	return distance;
}
public int getIndex(){
	return index;
}
public Object getTwin(){
	return next;
}
public void setNext(Object next){
	this.next=next;
}



}
